package cn.exrick.xboot.modules.bicmktbidbackinfo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.experimental.Accessors;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.math.BigDecimal;

/**
 * @author sdtf
 */
@Data
@Accessors(chain = true)
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "bic_mkt_bid_back")
@TableName("bic_mkt_bid_back")
@ApiModel(value = "中标管理")
public class BicMktBidBackInfo  {

    private static final long serialVersionUID = 1L;

    @Id
    private String bidBackId;

    private String biddingId;

    private String createId;

    private String createDate;

    private String modifyId;

    private String modifyDate;

    private String reiceMode;

    private String reiceAmount;

    private String ind;

    private String remark;

    private String operateAmount;

    private String status;

    private String bidnumber;

    private String bidOpenDate;

    private String success;

    private String updateTime;

    @Transient
    @TableField(exist = false)
    @ApiModelProperty("中标时间")
    private String bidBackTime;

    /**
     * 投标名称
     */
    @Transient
    @TableField(exist = false)
    private String biddingName;

    /**
     * 负责部门
     */
    @Transient
    @TableField(exist = false)
    private String chargeOrgName;

    /**
     * 项目总投资
     */
    @Transient
    @TableField(exist = false)
    private BigDecimal amount;

    /**
     * 客户
     */
    @Transient
    @TableField(exist = false)
    private String fullname;

    /**
     * 专业类型
     */
    @Transient
    @TableField(exist = false)
    private String professional;

    /**
     * 投标区域
     */
    @Transient
    @TableField(exist = false)
    private String area;

    @Transient
    @TableField(exist = false)
    @ApiModelProperty("投标区域")
    private String[] arealist;

}